#include <algorithm>
#include <iostream>
using namespace std;
int b = 2;
int main() {
    int a = 40;
    auto lam = [&a](){
        a++;
        return a;
    };
    cout << lam() << endl;
    cout << a << endl;
    return 0;
}